// 参数fid就指，mapgis数据库中要素自带的OID属性（字段）
function delFeatures({
  fids, // [9, 11, 12,……]
  service, // {name:"xxx",layerId:xx}
  docLayer,
}) {
  var deleteService = new Zondy.Service.EditDocFeature(
    service.name,
    service.layerId,
    {}
  );
  deleteService.deletes(fids, onPloySuccess(docLayer));
}
function onPloySuccess(docLayer) {
  return function (data) {
    // console.log(data, "data"); // {succeed: true}
    if (data.succeed) {
      alert("删除要素成功！");
      docLayer.refresh();
    } else {
      alert("删除要素失败！");
    }
  };
}
